package com.rephilo.gateway.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "lagou-service-user")
@RequestMapping("/api/user")
public interface UserRemoteService {

    @GetMapping("/info/{token}")
    String info(@PathVariable("token") String token);
}
